<!DOCTYPE html>
<!--@author vybfi-->
<!--@param-->
<!--@return 无-->
<html lang="ch-cn">

<head th:replace="layout::header">
</head>
<title>存档</title>
<body>
    <nav th:replace="layout::navbar"></nav> <br>
    <div class="paper container row border">
    <h2>在此保存您的信息</h2>
    </div>
    <br>

    <div class="paper container row border">
        <form  th:action="@{/save/savePlayerInformation}" th:object="${P}" method="POST" class="col-4 col">
<!--            th:action="@{}" th:object="${}" method="POST"-->
            <h4 >请问您的等级是?</h4>
            <input type="text" placeholder="等级"   th:field="${P.grade}" value=" ">
<!--            th:field="*{}"-->
            <h4>请问您的胜率是?</h4>
            <input type="text" placeholder="胜率"  th:field="${P.winRate}" value=" ">
            <br>
            <button type="submit" class="btn-block">邢了</button>
        </form>
    </div>
    <br>

    <div class="paper container row border">

        <form th:action="@{/save/saveZone}" th:object="${Z}" method="POST" class="col-7 col">
<!--            th:action="@{}" th:object="${}" method="post"-->
            <h4>新建游戏服务器信息:</h4>
            <input type="text" placeholder="游戏服务器名"  th:field="${Z.zoneName}">
            <br>

            <button type="submit" class="btn-block">OK</button>
        </form>
    </div>
    <br>

    <div class="paper container row border">

        <form  th:action="@{/save/saveHero}" th:object="${H}" method="POST" class="col-6 col">
<!--            th:action="@{}" th:object="${}" method="post"-->
            <h4>请输入您本局的英雄信息:</h4>
            <input type="text" placeholder="英雄名称"   th:field="${H.heroName}"><br>
            <input type="text" placeholder="定位"  th:field="${H.position}"> <br>
            <button type="submit">金色传说</button>
        </form>

        <form th:action="@{/save/saveSingleAgencyInfo}" th:object="${singleAgencyInfo}" method="post" class="col-6 col">
<!--            th:action="@{}" th:object="${}"-->
            <h4>请输入您的对局信息:</h4>
            <p>胜负</p>
            <select th:field="${singleAgencyInfo.outcome}">
                <!--                th:field="*{}"-->
                <option th:value="好耶">好耶</option>
                <option th:value="寄了">寄了</option>
            </select>
            <br>

            <h4>请输入您的战绩</h4>
<!--            <label >游戏服务器</label>-->
<!--            <br>-->
<!--            <select  >-->
<!--&lt;!&ndash;                th:field="*{}"&ndash;&gt;-->
<!--                <option ></option>-->
<!--&lt;!&ndash;                th:each="  : ${ }" th:value="${ }" th:text="${ }"&ndash;&gt;-->
<!--            </select>-->

<!--            <br>-->
            <label >击杀</label>
            <input type="number" placeholder="" th:field="${singleAgencyInfo.kills}">



            <br>
            <label >死亡</label>
            <input type="number" placeholder="" th:field="${singleAgencyInfo.death}">

            <br>
            <label >助攻</label>
            <input type="number" placeholder="" th:field="${singleAgencyInfo.assists}">

            <br>
            <button type="submit" class="btn-block">我好了</button>
        </form>
        
    </div>
    <br>


    <div th:replace="layout::AD"></div>

</body>
</html>